package org.dftproject.genesis.ui.editors;

import org.dftproject.genesis.ui.pages.IPageInput;
import org.dftproject.genesis.ui.pages.PageHistory;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IPersistableElement;

public class TabPartEditorInput implements IEditorInput {
	
	private IPageInput pageInput;
	private String pageID;
	private final PageHistory pageHistory = new PageHistory();

	public TabPartEditorInput(IPageInput pageInput, String pageId) {
		this.pageInput = pageInput;
		this.pageID = pageId;
	}
	
	public IPageInput getPageInput() {
		return pageInput;
	}
	
	public void setPageInput(IPageInput pageInput) {
		this.pageInput = pageInput;
	}
	
	public String getPageID() {
		return pageID;
	}
	
	public void setPageID(String pageID) {
		this.pageID = pageID;
	}
	
	public PageHistory getPageHistory() {
		return pageHistory;
	}

	public boolean exists() {
		return false;
	}

	public ImageDescriptor getImageDescriptor() {
		return null;
	}

	public String getName() {
		return "";
	}

	public IPersistableElement getPersistable() {
		return null;
	}

	public String getToolTipText() {
		return "";
	}

	@SuppressWarnings("unchecked")
	public Object getAdapter(Class adapter) {
		return null;
	}

}
